#include "netser.hpp"
#include <cstring>
#include <iostream>
#include <unistd.h>

#define BUFFER_SIZE 1024

int main()
{
    int ret = 0;
    char buffer[BUFFER_SIZE];

    netser ser("127.0.0.1", 5000);
    ser.start();

    while (1) {
        usleep(1000 * 1000);
    }

    ser.stop();

    return 0;
}
